package com.xin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xin.model.Vaccination;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author 夜天
 * @Date 2022/4/19 21:50
 * @Version 1.0.0
 * @description：
 */
@Component("VaccinationDao")
public interface VaccinationMapper extends BaseMapper<Vaccination> {
    List<Vaccination> queryVaccinationAll();
    int insertOne(Vaccination vaccination);
    int deleteById(Integer id);
    void delByUsername(String username);
    //
    int updateId(Integer id,String username,String tel);
}
